package com.ai.entity.network;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;

/**
 * @author zzy
 */
@Data
public class HeartMessage implements Serializable {

    @ApiModelProperty(value = "电文长度")
    private String length;
    @ApiModelProperty(value = "电文号")
    private String teleNo;
    @ApiModelProperty(value = "备用")
    private String spare;
    @ApiModelProperty("信号来源")
    private String clientIp;

    @ApiModelProperty("端口")
    private Integer sourcePort;
    
    public HeartMessage(String length, String teleNo){
        this.length = length;
        this.teleNo = teleNo;
    }
    public HeartMessage(){}
}
